package com.lesso.lll.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import model.Employee;
import pojo.dto.EmployeeDTO;
import pojo.dto.EmployeeQueryDTO;
import pojo.vo.EmployeeVO;

/**
 * EmployeeRepository
 *
 * @author lll
 * @since 2025-07-02
 */
public interface EmployeeRepository {
    Long save(Employee employee);

    Page<EmployeeVO> getPageList(EmployeeQueryDTO dto);

    Page<EmployeeVO> getCustomPageList(EmployeeQueryDTO dto);

    void removeById(Long id);

    void updateById(EmployeeDTO dto);

    EmployeeVO getById(Long id);
}
